package com.sky.Entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("口味数据模型")
public class Flavor implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键id",required = false)
    private Long id;
    @ApiModelProperty(value = "菜品id",required = false)
    private Long dishId;
    @ApiModelProperty(value = "口味名称",required = true,example = "甜味")
    private String name;
    @ApiModelProperty(value = "口味值",required = true,example = "[\"无糖\",\"少糖\"]")
    private String value;
}
